package com.jamiexu.help.socket.javabean;

import java.io.Serializable;

public class FileBean implements Serializable {
    private int num;
    private String fileName;
    private transient String path;
    private long size;
    private int block_num;
    private String status = "未下载";
    private int currentBlock = 0;

    public FileBean(int num, String fileName,String path, long size, int block_num) {
        this.num = num;
        this.fileName = fileName;
        this.path = path;
        this.size = size;
        this.block_num = block_num;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public int getBlock_num() {
        return block_num;
    }

    public void setBlock_num(int block_num) {
        this.block_num = block_num;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getStatus() {
        return status;
    }

    public int getCurrentBlock() {
        return currentBlock;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setCurrentBlock(int currentBlock) {
        this.currentBlock = currentBlock;
    }
}
